x86: print relevant (tail) part of filename for warnings and crashes
authorJan Beulich <jbeulich@suse.com>
Thu, 17 Oct 2013 09:35:26 +0000 (11:35 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 17 Oct 2013 09:35:26 +0000 (11:35 +0200)
commitf72cb6bbc10348f4f7671428e5db509731e9e6a5
tree5d14389112b4fdab59b71ac07ab7261b494196d9
parenta65299c87b057dff6bc4c8490e15827a854d9d28
x86: print relevant (tail) part of filename for warnings and crashes

In particular when the origin construct is in a header file (and
hence the file name is an absolute path instead of just the file name
portion) the information can otherwise become rather useless when the
build tree isn't sitting relatively close to the file system root.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/traps.c